﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OneMake.Model
{
    [PetaPoco.TableName("sh_d_thh")]
    [PetaPoco.PrimaryKey("oid")]
    public class sh_d_thh
    {
        [MapToField(FieldName = "统计日期")]
        public DateTime stat_datetime { get; set; }

        [MapToExcel(ColumnName = "序号")]
        public string sn { get; set; }

        [MapToExcel(ColumnName = "收件日期")]
        public DateTime recv_date { get; set; }

        [MapToExcel(ColumnName = "下单日期")]
        public DateTime order_date { get; set; }

        [MapToExcel(ColumnName = "店铺名")]
        public string shopname { get; set; }

        [MapToExcel(ColumnName = "系统退单号")]
        public string return_sn { get; set; }

        [MapToExcel(ColumnName = "店铺订单号")]
        public string shop_sn { get; set; }

        [MapToExcel(ColumnName = "ID/QQ")]
        public string id { get; set; }

        [MapToExcel(ColumnName = "货号")]
        public string prd_sn { get; set; }

        [MapToExcel(ColumnName = "尺码")]
        public string size { get; set; }

        [MapToExcel(ColumnName = "单价")]
        public double price { get; set; }

        [MapToExcel(ColumnName = "数量")]
        public int amount { get; set; }

        [MapToExcel(ColumnName = "退回物流单号")]
        public string return_order_sn { get; set; }

        [MapToExcel(ColumnName = "运费")]
        public double ship_fee { get; set; }

        [MapToExcel(ColumnName = "产品质量情况")]
        public string quality { get; set; }

        [MapToExcel(ColumnName = "客户反映的情况")]
        public string feedback { get; set; }

        [MapToExcel(ColumnName = "退换货原因")]
        public string return_cause { get; set; }

        [MapToExcel(ColumnName = "退换货类型")]
        public string return_type { get; set; }

        [MapToExcel(ColumnName = "责任方")]
        public string resp { get; set; }

        [MapToExcel(ColumnName = "收货信息")]
        public string recv_info { get; set; }

        [MapToExcel(ColumnName = "备注1—登记人")]
        public string remark1 { get; set; }

        [MapToExcel(ColumnName = "备注2—换货邮费")]
        public string remark2 { get; set; }

        [MapToExcel(ColumnName = "退仓时间")]
        public DateTime back_time { get; set; }

        
		/////////////////////////////////////////
        [MapToField(FieldName = "门店编号")]
        public int shopid { get; set; }
        [MapToField(FieldName = "文件编号")]
        public int fileid { get; set; }
        [MapToField(FieldName = "编号")]
        public int oid { get; private set; }    
    }
}
